package com.fmdj.mis.api.service.Impl;

import com.fmdj.mis.api.db.dao.UserDao;
import com.fmdj.mis.api.service.UserService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.Map;
import java.util.Set;
@Service
public class UserServiceImpl implements UserService {
    @Resource
    private UserDao userDao;
    @Override
    public Integer login(Map param) {
        return userDao.login(param);
    }

    @Override
    public Set<String> selectUserPermissions(int userId) {
        return userDao.selectUserPermissions(userId);
    }
}
